package com.ruoyi.company.service.impl;

import com.ruoyi.company.domain.CompanyMyLinkman;
import com.ruoyi.company.mapper.CompanyMyLinkmanMapper;
import com.ruoyi.company.service.ICompanyMyLinkmanServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author WangChangShuo
 * @date 2022年06月14日 16:49
 */
@Service
public class CompanyMyLinkmanServerImpl implements ICompanyMyLinkmanServer {
    @Autowired
    CompanyMyLinkmanMapper companyMyLinkmanMapper;

    @Override
    public List<CompanyMyLinkman> selectLinkman(Map<String, Object> map) {
        return companyMyLinkmanMapper.selectLinkman(map);
    }

    @Override
    public int deleteLinkmanById(ArrayList<Long> arrayList) {
        return companyMyLinkmanMapper.deleteLinkmanById(arrayList);
    }

    @Override
    public int insertCompanyMyLinkman(List<CompanyMyLinkman> linkmanList) {
        return companyMyLinkmanMapper.insertCompanyMyLinkman(linkmanList);
    }
}
